<template lang='pug'>
  .navbar(:style="{color, backgroundColor: bgColor}"): slot
    
</template>

<script type='text/ecmascript-6'>
  export default {
    props: {
      color: {
        type: String,
        default: '#fff'
      },
      bgColor: {
        type: String,
        default: '#f76b27'
      }
    },
    methods: {

    }
  }
</script>

<style lang='stylus' rel='stylesheet/stylus' scoped>

@import '~assets/stylus/variable.styl'
 
.navbar
  position relative
  display flex
  &::after
    content ''
    position absolute
    bottom 0
    width 100%
    // border-bottom 1px solid #ddd
    transform scaleY(0.3)
</style>
